
package com.lry.compressor;


import com.lry.compressor.util.ZipUtil;
import com.lry.spi.LoadLevel;

@LoadLevel(name = "zip")
public class ZipCompressor implements Compressor {

    @Override
    public byte[] compress(byte[] bytes) {
        return ZipUtil.compress(bytes);
    }

    @Override
    public byte[] decompress(byte[] bytes) {
        return ZipUtil.decompress(bytes);
    }

}
